cmake_minimum_required(VERSION 3.16)
project(sdl_learning C)

set(CMAKE_C_STANDARD 11)
set(SRC_DIR ./src)


set(SOURCE_FILES
#        ${SRC_DIR}/sdl_2.c
#        ${SRC_DIR}/sdl_1.c
#        src/sdl_3.c
        ${SRC_DIR}/yuv_player.c
#        ${SRC_DIR}/pcm_player.c
        )

include_directories(include/)
link_directories(lib/)

add_executable(sdl_learning  ${SOURCE_FILES})

target_link_libraries(
        sdl_learning
        SDL2
        SDL2-2.0.0
)